// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: Markus Gutschke

#ifndef CONTROL_JOB_STATUS_H__
#define CONTROL_JOB_STATUS_H__

#include "hashmap.h"
#include "json.h"
#include "oauth2.h"

enum JobStatus { S_QUEUED, S_IN_PROGRESS, S_DONE, S_ERROR };


void controlJobStatus(const char *url, struct OAuth2 *oauth2,
                      const char *jobid, enum JobStatus status,
                      int code, const char *msg);

#endif  // CONTROL_JOB_STATUS_H__
